export const formData = [
  {
    elType: "input",
    id: "dutySource",
    label: "信息来源",
    attrs: {
      value: "",
      size: "small",
      clearable: true,
      "collapse-tags": true
    }
  },
  {
    elType: "input",
    id: "dutyPlan",
    label: "值班计划",
    attrs: {
      value: "",
      size: "small",
      clearable: true,
      "collapse-tags": true
    }
  },
  {
    elType: "lsdTree",
    id: "createDeptName",
    name: "createDeptId",
    label: "所属单位",
    keyWord: "keyWord",
    treeRef: "treeRef",
    commonClick: true,
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    },
    // options: [],
    options: {
      attrs: {
        value: ""
      }
    },
    treeData: {
      attrs: {
        data: []
      },
      props: {
        children: "children",
        label: "orgName",
        value: "id"
      }
    }
  },
  {
    elType: "input",
    id: "dutyAddress",
    label: "值班地点",
    attrs: {
      value: "",
      clearable: true,
      size: "small",
      filterable: true,
      "collapse-tags": true
    },
    options: []
  },
  {
    elType: "dateTimePicker",
    id: "dutyDate",
    label: "值班日期",
    attrs: {
      value: "",
      size: "medium",
      type: "datetimerange",
      clearable: true,
      "start-placeholder": "开始日期",
      "end-placeholder": "结束日期",
      "value-format": "yyyy-MM-dd HH:mm:ss"
    }
  },
  {
    elType: "input",
    id: "creator",
    label: "创建人",
    attrs: {
      value: "",
      size: "small",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    }
  },
  {
    elType: "dateTimePicker",
    id: "createTime",
    label: "创建时间",
    attrs: {
      value: "",
      size: "medium",
      type: "datetimerange",
      clearable: true,
      "start-placeholder": "开始日期",
      "end-placeholder": "结束日期",
      "value-format": "yyyy-MM-dd HH:mm:ss"
    }
  },
  {
    elType: "select",
    id: "dutyStatus",
    label: "状态",
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    },
    options: [
      {
        label: "未发布",
        value: "0"
      },
      {
        label: "已发布",
        value: "1"
      }
    ]
  }
];
